/* 分类标题样式 */
.category-title {
  font-size: 24px;
  font-weight: bold;
  padding: 16px;
  border-bottom: 1px solid #eee;
}

/* 药品列表样式 */
.medicine-list {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  /* overflow: hidden; */
}

/* 药品项样式 */
.medicine-item {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  /* flex-direction: column; */
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.medicine-left {
  margin-right: 16px;
  width: 40%;
}
/* 药品图片样式 */
.medicine-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 12px;
}

/* 药品信息样式 */
.medicine-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 药品名称样式 */
.medicine-name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 4px;
}

/* 药品品牌样式 */
.medicine-brand {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

/* 药品价格样式 */
.medicine-price {
  font-size: 16px;
  color: #f00;
  font-weight: bold;
  margin-top: 8px;
}

/* 药品用法用量样式 */
.medicine-dosage {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

 .container {
  height: calc(100vh - 128px);
  padding: 12px 0;
  background-color: #ffffff;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  [data-prefers-color='dark'] & {
    background-color: unset;
  }
}

.side {
  flex: none;
  /* width: 200px; */
  background-color: #f5f5f5;
  height: calc(100vh - 128px);
}

.main {
  flex: auto;
  height: calc(100vh - 128px);
  overflow: auto;
}

.content {
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  color: #cccccc;
  &.active {
    display: flex;
  }
}